package model

import "gorm.io/gorm"

type Hotel struct {
	gorm.Model
	HotelTitle string  `gorm:"type:varchar(100);not null;comment:酒店名称"`
	HotelAddr  string  `gorm:"type:varchar(255);not null;comment:酒店地址"`
	RoomType   string  `gorm:"type:varchar(20);not null;comment:酒店房型"`
	Price      float64 `gorm:"type:decimal(10,2);not null;comment:房型金额"`
	Status     int     `gorm:"type:int(10);not null;comment:状态"`
}
